export default [
  {
    path: '/visitor',
    component: () => import('@/views/visitor/Layout/index.vue'),
    redirect: '/visitor/home',
    children: [
      {
        path: 'home',
        name: 'VisitorHome',
        component: () => import('@/views/visitor/home/index.vue'),
        meta: { title: '首页', requiresAuth: true, role: 'VISITOR' }
      },
      {
        path: 'collections',
        name: 'VisitorCollections',
        component: () => import('@/views/visitor/collections/index.vue'),
        meta: { title: '藏品展示', requiresAuth: true, role: 'VISITOR' }
      },
      {
        path: 'appointment',
        name: 'VisitorAppointment',
        component: () => import('@/views/visitor/appointment/index.vue'),
        meta: { title: '参观预约', requiresAuth: true, role: 'VISITOR' }
      },
      {
        path: 'museum-info',
        name: 'VisitorMuseumInfo',
        component: () => import('@/views/visitor/museum-info/index.vue'),
        meta: { title: '博物馆介绍', requiresAuth: true, role: 'VISITOR' }
      },
      {
        path: 'map',
        name: 'VisitorMap',
        component: () => import('@/views/visitor/map/index.vue'),
        meta: { title: '导览地图', requiresAuth: true, role: 'VISITOR' }
      },
      {
        path: 'feedback',
        name: 'VisitorFeedback',
        component: () => import('@/views/visitor/feedback/index.vue'),
        meta: { title: '意见反馈', requiresAuth: true, role: 'VISITOR' }
      }
    ]
  }
] 